package com.xinqi.modules.exam.analyze.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 课程测评讲解实体层
 *
 * @author: linkai
 * @date: 2023/07/02
 */
@Setter
@Getter
@TableName("co_course_exam_paper_explain")
public class CourseExamPaperExplainEntity extends UpdateTimeEntity {
    /**
     * 租户ID
     */
    @TableField(value = "tenant_id")
    private Long tenantId;
    /**
     * 测评ID
     */
    @TableField(value = "exam_paper_id")
    private Long examPaperId;
    /**
     * 试题ID
     */
    @TableField(value = "question_id")
    private Long questionId;
    /**
     * 得分率
     */
    @TableField(value = "score_rate")
    private BigDecimal scoreRate;
    /**
     * 正确答案
     */
    @TableField(value = "right_answer")
    private String rightAnswer;
    /**
     * 测评人数
     */
    @TableField(value = "all_user_count")
    private Integer allUserCount;
    /**
     * 参加测评人数
     */
    @TableField(value = "exam_user_count")
    private Integer examUserCount;
    /**
     * 答对人数
     */
    @TableField(value = "right_user_count")
    private Integer rightUserCount;
    /**
     * 答错人数
     */
    @TableField(value = "error_user_count")
    private Integer errorUserCount;
    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;
}
